projects
/
lsb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd63329
)
init-functions: in killproc, pass '--name' to start-stop-daemon
author
Dmitry Bogatov
<KAction@debian.org>
Sun, 10 Mar 2019 19:12:39 +0000
(19:12 +0000)
committer
Didier Raboud
<odyx@debian.org>
Wed, 13 Mar 2019 20:23:05 +0000
(21:23 +0100)
Closes: #921558
init-functions
patch
|
blob
|
history
diff --git
a/init-functions
b/init-functions
index a8c9c2c6241dbee2520ca35b239af4b593c9d62e..252da64d24a1648a479bcb546880448ee07856d7 100644
(file)
--- a/
init-functions
+++ b/
init-functions
@@
-141,7
+141,7
@@
killproc () {
if [ ! $pidfile ]; then
name_param="--name $base --pidfile /var/run/$base.pid"
else
- name_param="--pidfile $pidfile"
+ name_param="--
name $base --
pidfile $pidfile"
fi
sig=$(echo ${2:-} | sed -e 's/^-\(.*\)/\1/')